package itsm.isperp.framework.exception;

/**
 * 
 * 
 * @author lizx
 * @date 2013-3-3
 * @version V1.0
 */
public class BusinessException extends RuntimeException {
	
	private static final long serialVersionUID = 1L;

	private String errorCode;

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public BusinessException(final String message) {
		super(message);
	}

	public BusinessException(final String message, final String errorCode) {
		super(message);
		this.errorCode = errorCode;
	}
}
